import request from '../req'
// 获取电销黑名单列表
export const tmBlacklist = async (params: any) => {
    const res = await request.get('/crm/telesalesBlacklist/list', {
        params: params
    })
    return res
}

// 删除电销黑名单
export const delTmBlack = async (data: any) => {
	const res = await request.delete('/crm/telesalesBlacklist/id', {
		params: data
	})
	return res
}



// 上传电销黑名单手机号列表 
export const batchImportPhone = async (data: string[]) => {
    const res = await request.post('/crm/telesalesBlacklist/batchImport', data)
    return res
}
// export const  = async (data: any) => {
//     let res = await request.post('/system/sales/task/edit-batch', data)
//     return res
// }